package br.unicentro.lynx.model.pojo;

public class Publisher {
	private Integer id_publisher;
	private String name_publisher;
	private Integer id_contact_publisher;

	public Publisher() {
		
	}
	
	public Publisher(String name_publisher, Integer id_contact_publisher) {
		this.name_publisher = name_publisher;
		this.id_contact_publisher = id_contact_publisher;
	}

	public Publisher(Integer id_publisher, String name_publisher,
			Integer id_contact_publisher) {
		this.id_publisher = id_publisher;
		this.name_publisher = name_publisher;
		this.id_contact_publisher = id_contact_publisher;
	}

	public Integer getIdPublisher() {
		return id_publisher;
	}

	public void setIdPublisher(Integer id_publisher) {
		this.id_publisher = id_publisher;
	}

	public String getNamePublisher() {
		return name_publisher;
	}

	public void setNamePublisher(String name_publisher) {
		this.name_publisher = name_publisher;
	}

	public Integer getIdContactPublisher() {
		return id_contact_publisher;
	}

	public void setIdContactPublisher(Integer id_contact_publisher) {
		this.id_contact_publisher = id_contact_publisher;
	}

	@Override
	public String toString() {
		StringBuilder builder = new StringBuilder();
		builder.append("PublisherController [id_publisher=")
				.append(id_publisher).append(", name_publisher=")
				.append(name_publisher).append(", id_contact_publisher=")
				.append(id_contact_publisher).append("]");
		return builder.toString();
	}
}
